package com.yyw.gulimall.authserver.feign;

import com.yyw.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Classname thirdPartyFeign
 * @Description 第三方服务远程接口
 * @Date 2020/12/10 14:23
 * @Created yyw
 */
@FeignClient(name = "gulimall-third-party")
public interface ThirdPartyFeign {

    @GetMapping("/thirdParty/sms/sendCode")
    R sendCode(@RequestParam String phone);
}
